# makefile example
CC=g++
CXXFLAGS=-Wall
PROGS=compensation pi animals random hello recursive rect class combination \
	  quiz1 quiz2 excep elapsed opts fileio

all: $(PROGS)

%: %.cpp
	$(CC) -o $@ $< $(CXXFLAGS)

clean:
	rm -rf $(PROGS)
